package com.hns.can.base.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hns.can.common.entity.BaseEntity;

/**
 * 功能节点注册表 实体
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_SYS_FUNC_REGISTER")
public class SysFuncRegisterEntity extends BaseEntity {

	// Fields
	@Id
	@Column(name = "ID")
	private String id;

	@Column(name = "CODE")
	private String code;

	@Column(name = "NAME")
	private String name;
	
	@Column(name = "SYSTEM_ID")
	private String systemId;

	@Column(name = "REMARK")
	private String remark;

	@Column(name = "PARENT_ID")
    private String parentId;

	/**
	 * 菜单配置
	 * 等于1:为2级菜单初始化左侧有机构树
	 * 不等于1:为三级菜单的配置{treeType(要显示的树类型):1(车辆)/2(驾驶员)/3(线路),clickEvent:'stnLineRelTab',checkEnable(是否显示复选框):false/true}
	 */
	@Column(name = "SUBMENU_SET")
    private String submenuSet;

    @Column(name = "IS_LEAF")
	private String isLeaf;

	@Column(name = "SCALE")
	private BigDecimal scale;

	@Column(name = "URL")
	private String url;

	@Column(name = "IS_BUTTON_LOG")
	private String isButtonLog;

	@Column(name = "IS_BUTTON_AUTHORITY")
	private String isButtonAuthority;

	@Column(name = "IS_LISTING_AUTHORITY")
	private String isListingAuthority;
	
	@Column(name = "POSITION")
	private BigDecimal position;

	@Column(name = "CREATE_TS")
	private Date createTs;
	
	@Column(name = "CSS")
	private String css;
	
	@Column(name = "MONITOR_FLAG")
	private String monitorFlag;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSystemId() {
        return systemId;
    }

    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(String isLeaf) {
        this.isLeaf = isLeaf;
    }

    public BigDecimal getScale() {
        return scale;
    }

    public void setScale(BigDecimal scale) {
        this.scale = scale;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIsButtonLog() {
        return isButtonLog;
    }

    public void setIsButtonLog(String isButtonLog) {
        this.isButtonLog = isButtonLog;
    }

    public String getIsButtonAuthority() {
        return isButtonAuthority;
    }

    public void setIsButtonAuthority(String isButtonAuthority) {
        this.isButtonAuthority = isButtonAuthority;
    }

    public String getIsListingAuthority() {
        return isListingAuthority;
    }

    public void setIsListingAuthority(String isListingAuthority) {
        this.isListingAuthority = isListingAuthority;
    }

    public BigDecimal getPosition() {
        return position;
    }

    public void setPosition(BigDecimal position) {
        this.position = position;
    }

    public Date getCreateTs() {
        return createTs;
    }

    public void setCreateTs(Date createTs) {
        this.createTs = createTs;
    }

    public String getSubmenuSet() {
        return submenuSet;
    }

    public void setSubmenuSet(String submenuSet) {
        this.submenuSet = submenuSet;
    }

	public String getCss() {
		return css;
	}

	public void setCss(String css) {
		this.css = css;
	}

	public String getMonitorFlag() {
		return monitorFlag;
	}

	public void setMonitorFlag(String monitorFlag) {
		this.monitorFlag = monitorFlag;
	}
    
}